package com.cy.stone.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "stone.encrypt")
public class EncryptProperties {

    /**
     * 是否开启
     */
    private boolean enabled;

    /**
     * 用于加密AES key
     */
    private String publicKey;
}
